package com.domain.service;

import com.aliyuncs.exceptions.ClientException;
import com.domain.common.Result;

public interface SmsService {


    /**
     * 发送短信服务
     *
     * @param mobile 手机号
     * @return
     */
    Result sendMessage(String mobile, String rodam) throws ClientException;


    /**
     * 判断验证码是否正确
     *
     * @param mobile
     * @param identifyCode
     * @return
     */
    boolean checkIsCorrectCode(String mobile, String identifyCode);


}
